	//Admin
	function Admin_Add_Check()
	{
	    var id=document.forms["Add"]["username"].value;
	    var pwd=document.forms["Add"]["password"].value;
	    
	    if (id==null||id==""){
	    	alert("Username is empty！");
	    	return false;
	    }else if (pwd==null||pwd==""){
	      	 alert("Password is empty！");
	      	 return false;
	    }
	}
	
	function Admin_Del_Check()
	{
	    var id=document.forms["Del"]["username"].value;
	    if (id==null||id==""){
	    	alert("Username is empty！");
	    	return false;
	    }
	}
	
	function Admin_Modify_Check()
	{
	    var id=document.forms["Modify"]["username"].value;
	    var pwd=document.forms["Modify"]["password"].value;
	    
	    if (id==null||id==""){
	    	alert("Username is empty！");
	    	return false;
	    }else if (pwd==null||pwd==""){
	      	 alert("Password is empty！");
	      	 return false;
	    }
	}
	
	
	//Phenomenon
	function Phe_Add_Check()
	{
	    var phe=document.forms["Add"]["phenomenon"].value;
	    var indexf=document.forms["Add"]["indexf"].value;
	    
	    if (phe==null||phe==""){
	    	alert("Phenomenon is empty！");
	    	return false;
	    }else if (indexf==null||indexf==""){
	      	 alert("Index is empty！");
	      	 return false;
	    }
	}
	
	function Phe_Del_Check()
	{
	    var phe=document.forms["Del"]["phenomenon"].value;
	    if (phe==null||phe==""){
	    	alert("Phenomenon is empty！");
	    	return false;
	    }
	}
	
	function Phe_Modify_Check()
	{
	    var phe=document.forms["Modify"]["phenomenon"].value;
	    var indexf=document.forms["Modify"]["indexf"].value;
	    
	    if (phe==null||phe==""){
	    	alert("Phenomenon is empty！");
	    	return false;
	    }else if (indexf==null||indexf==""){
	      	 alert("Index is empty！");
	      	 return false;
	    }
	}
	
	//effect
	function Effect_Add_Check()
	{
		var indexf=document.forms["Add"]["indexf"].value;
	    var phe=document.forms["Add"]["phenomenon"].value;
	    var effect=document.forms["Add"]["effect"].value;
	    var indexe=document.forms["Add"]["indexe"].value;
	    
	   if (indexf==null||indexf==""){
	      	 alert("F index is empty！");
	      	 return false;
	    }else if (phe==null||phe==""){
	    	alert("Phenomenon is empty！");
	    	return false;
	    }else if (effect==null||effect==""){
	    	alert("Effect is empty！");
	    	return false;
	    }else if (indexe==null||indexe==""){
	      	 alert("E index is empty！");
	      	 return false;
	    }
	}
	
	function Effect_Del_Check()
	{
	    var phe=document.forms["Del"]["phenomenon"].value;
	    var effect=document.forms["Del"]["effect"].value;
	    if (phe==null||phe==""){
	    	alert("Phenomenon is empty！");
	    	return false;
	    }else if (effect==null||effect==""){
	    	alert("Effect is empty！");
	    	return false;
	    }
	}
	
	function Effect_Modify_Check()
	{
		var indexf=document.forms["Modify"]["indexf"].value;
	    var phe=document.forms["Modify"]["phenomenon"].value;
	    var effect=document.forms["Modify"]["effect"].value;
	    var indexe=document.forms["Modify"]["indexe"].value;
	    
	    if (phe==null||phe==""){
	    	alert("Phenomenon is empty！");
	    	return false;
	    }else if (indexf==null||indexf==""){
	      	 alert("F index is empty！");
	      	 return false;
	    }else if (effect==null||effect==""){
	    	alert("Effect is empty！");
	    	return false;
	    }else if (indexe==null||indexe==""){
	      	 alert("E index is empty！");
	      	 return false;
	    }
	}
	

	//Introduce
	function Introduce_Add_Check()
	{
	    var indexe=document.forms["Add"]["indexe"].value;
	    var effect=document.forms["Add"]["effect"].value;
	    var description=document.forms["Add"]["description"].value;
	    if (indexe==null||indexe==""){
	    	alert("Index is empty！");
	    	return false;
	    }else if (effect==null||effect==""){
	      	 alert("Effect is empty！");
	      	 return false;
	    }else if (description==null||description==""){
	      	 alert("Detail is empty！");
	      	 return false;
	    }
	}
	
	function Introduce_Del_Check()
	{
	    var effect=document.forms["Del"]["effect"].value;
	    if (effect==null||effect==""){
	    	alert("Effect is empty！");
	    	return false;
	    }
	}
	
	function Introduce_Modify_Check()
	{
	    var indexe=document.forms["Modify"]["indexe"].value;
	    var effect=document.forms["Modify"]["effect"].value;
	    var description=document.forms["Modify"]["description"].value;
	    if (indexe==null||indexe==""){
	    	alert("Index is empty！");
	    	return false;
	    }else if (effect==null||effect==""){
	      	 alert("Effect is empty！");
	      	 return false;
	    }else if (description==null||description==""){
	      	 alert("Detail is empty！");
	      	 return false;
	    }
	}
	
	//Example
	function Example_Add_Check()
	{
	    var indexe=document.forms["Add"]["indexe"].value;
	    var effect=document.forms["Add"]["effect"].value;
	    var example=document.forms["Add"]["example"].value;
	    var path=document.forms["Add"]["path"].value;
	    
	    if (indexe==null||indexe==""){
	    	alert("Index is empty！");
	    	return false;
	    }else if (effect==null||effect==""){
	      	 alert("Effect is empty！");
	      	 return false;
	    }else if (path==""||example==""){
	      	 alert("Fill in at least one item in the case or path！");
	      	 return false;
	    }
	}
	
	function Example_Del_Check()
	{
	    var effect=document.forms["Del"]["effect"].value;
	    if (effect==null||effect==""){
	    	alert("Effect is empty！");
	    	return false;
	    }
	}
	
	function Example_Modify_Check()
	{
	    var indexe=document.forms["Modify"]["indexe"].value;
	    var example=document.forms["Modify"]["example"].value;
	    var path=document.forms["Modify"]["path"].value;
	    if (indexe==null||indexe==""){
	    	alert("Index is empty！");
	    	return false;
	    }else if (example==""||path==""){
	      	 alert("Fill in at least one item in the case or path！");
	      	 return false;
	    }
	}